<?php

/**
 * Nodo form.
 *
 * @package    hipermedio
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class NodoForm extends BaseNodoForm
{
  public function configure()
  {
    unset($this['created_at'], $this['updated_at'], $this['fecha'], $this['medio_id']);
    
    $this->widgetSchema['uuid'] = new sfWidgetFormInputHidden();
    $this->widgetSchema['nodo_padre_id'] = new sfWidgetFormInputHidden();
    $this->widgetSchema['hipermedio_id'] = new sfWidgetFormInputHidden();
    $this->widgetSchema['tag_id'] = new sfWidgetFormInputHidden();
    $this->widgetSchema['tipo_medio'] = new sfWidgetFormInputHidden();
    $this->widgetSchema['posicion_x'] = new sfWidgetFormInputHidden();
    $this->widgetSchema['posicion_y'] = new sfWidgetFormInputHidden();
//    $this->widgetSchema['tipo_medio'] = new sfWidgetFormChoice(array(
//      'choices'  => Doctrine_Core::getTable('Nodo')->getTipos(),
//      'expanded' => false,
//      'multiple' => false,
//    ));
  }
}
